package com.pzr.soccer.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.security.core.authority.SimpleGrantedAuthority;

import java.util.List;

/**
 * @Author pzr
 * @date:2021-12-21-14:07
 * @Description:
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginResult {

    @ApiModelProperty("来自authorization  service 生成的token")
    private String token;

    //@ApiModelProperty("用户的可访问菜单")
   // private List<SysMenu> menus;

    @ApiModelProperty("用的权限")
    private List<String> authorities;
}
